﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZG_member.DAL;
using System.Data;

namespace ZG_member.BLL
{
    public class Areas
    {
        ZG_member.DAL.Areas dal = new ZG_member.DAL.Areas();
        /// <summary>
        /// 获取数据列表
        /// </summary>
        /// <param name="strWhere"></param>
        /// <returns></returns>
        public DataSet GetList(string strWhere)
        {
            return dal.GetList(strWhere);
        }

        /// <summary>
        /// 根据ID获得实体对象
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ZG_member.Model.Areas getModel(int id)
        {
            return dal.GetModel(id);
        }

        /// <summary>
        /// 根据名字得到实体对象
        /// </summary>
        /// <param name="Name"></param>
        /// <returns></returns>
        public ZG_member.Model.Areas getModelToString(string Name)
        {
            return dal.GetModelToString(Name);
        }

    }
}
